package com.maibow.entity.weixin;

/**
 * 微信通用接口凭证
 * 
 * @author zhanglei
 */
public class WeixinUserInfo {
    // 获取到的凭证
    private String nickName;

    // 凭证有效时间，单位：s
    private int sex;

    private String city;

    private String province;

    private String country;

    private String headimgurl;

    private String openId;
    
    private String unionid;

    /**
     * nickName
     *
     * @return the nickName
     * @since 1.0.0
     */

    public String getNickName() {
        return nickName;
    }

    /**
     * @param nickName
     *            the nickName to set
     */
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /**
     * sex
     *
     * @return the sex
     * @since 1.0.0
     */

    public int getSex() {
        return sex;
    }

    /**
     * @param sex
     *            the sex to set
     */
    public void setSex(int sex) {
        this.sex = sex;
    }

    /**
     * city
     *
     * @return the city
     * @since 1.0.0
     */

    public String getCity() {
        return city;
    }

    /**
     * @param city
     *            the city to set
     */
    public void setCity(String city) {
        this.city = city;
    }

    /**
     * province
     *
     * @return the province
     * @since 1.0.0
     */

    public String getProvince() {
        return province;
    }

    /**
     * @param province
     *            the province to set
     */
    public void setProvince(String province) {
        this.province = province;
    }

    /**
     * country
     *
     * @return the country
     * @since 1.0.0
     */

    public String getCountry() {
        return country;
    }

    /**
     * @param country
     *            the country to set
     */
    public void setCountry(String country) {
        this.country = country;
    }

    /**
     * headimgurl
     *
     * @return the headimgurl
     * @since 1.0.0
     */

    public String getHeadimgurl() {
        return headimgurl;
    }

    /**
     * @param headimgurl
     *            the headimgurl to set
     */
    public void setHeadimgurl(String headimgurl) {
        this.headimgurl = headimgurl;
    }

    /**
     * openId
     *
     * @return the openId
     * @since 1.0.0
     */

    public String getOpenId() {
        return openId;
    }

    /**
     * @param openId
     *            the openId to set
     */
    public void setOpenId(String openId) {
        this.openId = openId;
    }

    /**
     * unionid
     *
     * @return  the unionid
     * @since   1.0.0
     */
    
    public String getUnionid() {
        return unionid;
    }

    /**
     * @param unionid the unionid to set
     */
    public void setUnionid(String unionid) {
        this.unionid = unionid;
    }
}